/**
 * @see [description](https://mp.weixin.qq.com/debug/wxadoc/dev/api/setting.html#wxgetsettingobject)
 */
export default function get_setting() {
	return new Promise<{
		authSetting: { [key in wx.Scope]: boolean; };
	}>((resolve, reject) => {
		wx.getSetting({
			success(res) {
				resolve(res);
			},
			fail(res) {
				reject(res);
			}
		});
	});
}
